package top.yehot.cmmu.swagger.anns;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;

import top.yehot.cmmu.swagger.config.GatewaySwaggerAutoConfiguration;
import top.yehot.cmmu.swagger.config.SwaggerProperties;

/**
 * 网关开启swagger
 * 
 * @author lquan
 * @date 2022年4月2日 下午4:30:56
 */
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@EnableConfigurationProperties(SwaggerProperties.class)
@Import({ GatewaySwaggerAutoConfiguration.class })
public @interface EnableGatewaySwagger2 {

}

